<!doctype html>
<html class="no-js" lang="en">
    <head>
        <meta charset="utf-8"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
        <title>BR2P | Bem vindos</title>
        <link rel="stylesheet" href="style.css">
    </head>
    <body>
        <!-- Start Top Bar -->
        <div class="top-bar">
            <div class="top-bar-left">
                <ul class="menu">
                    <li class="menu-text">BR2P</li>
                    <li>
                        <a href="tutoriais.html" class="button clear">Tutoriais</a>
                    </li>
                    <li>
                        <a href="contatos.html" class="button clear">Contatos</a>
                    </li>
                </ul>
            </div>
            <div class="top-bar-right">
                <ul class="menu">
                    <li>
                        <a href="#" class="button clear">Associados</a>
                    </li>
                    <li>
                        <a href="termos.html" class="button clear">Termos</a>
                    </li>
                    <li>
                        <a href="susi.html" class="button clear">Livro de endereços</a>
                    </li>
                    <li>
                        <a href="download.html" class="button clear">Download</a>
                    </li>
                </ul>
            </div>
        </div>
        <!-- End Top Bar -->
        <div class="callout large">
            <div class="text-center">
                <h1 class="font-lead">Contato</h1>
            </div>
        </div>
        <div class="grid-container">
            <div class="grid-x">
                <div class="large-12 columns">
                    <!--MAP ITEM-->
                    <div class="box no-shadow">
                        <div class="box-header bg-transparent">
                            <!-- tools box -->
                            <div class="pull-right box-tools"> 
                                <span class="box-btn" data-widget="collapse"><i class="icon-minus"></i> </span> 
                                <span class="box-btn" data-widget="remove"><i class="icon-cross"></i> </span> 
                            </div>
                            <h3 class="box-title"><i class="ti-layout-cta-btn-right"></i>  </h3> 
                        </div>
                        <!-- /.box-header -->
                        <div class="box-body" style="display: block;">
                            <!-- tooltip -->
                            <div class="row">
</div>
                            <!-- end tooltip -->
                        </div>
                        <!-- /.box-body -->
                    </div>
                    <!--END OF MAP ITEM-->
                    <!--MAP ITEM-->
                    <div class="box no-shadow ">
                        <div class="box-header bg-transparent">
                            <!-- tools box -->
                            <div class="pull-right box-tools"> 
                                <span class="box-btn" data-widget="collapse"><i class="icon-minus"></i> </span> 
                                <span class="box-btn" data-widget="remove"><i class="icon-cross"></i> </span> 
                            </div>
                            <h3 class="box-title"><i class="ti-layout-cta-btn-right"></i>  </h3> 
                        </div>
                        <!-- /.box-header -->
                        <div class="box-body">
                            <!-- tooltip -->
                            <div class="row">
                                <div class="large-4 columns">
                                    <p>Insira suas informaçoes abaixo e nós entraremos em contato.</p>
                                    <noscript>
                                       <span class="warning text-center">
                                        Os dados são encriptografados por pgp antes de serem enviados.
                                        <br>
                                        Assim como senhas e coockies para impedir certos tipos de ataques.
                                    </span>
                                    </noscript>
                                </div>
                                <div class="large-8 columns">
                                    <form id="contato" name="contato" method="POST">
                                        <label for="name">Nome</label>
                                        <input type="text" value="" id="name">
                                        <label for="email">Email</label>
                                        <input type="email" value="" id="email">
                                        <label for="content">Conteudo</label>
                                        <textarea id="content" name="content"></textarea>
                                        <button class="button success" id="sent" type="submit" value="Enviar" onclick="formENC(this.form, this.form.content);">Enviar</button>
                                    </form>
                                </div>
                            </div>
                            <!-- end tooltip -->
                        </div>
                        <!-- /.box-body -->
                    </div>
                    <!--END OF MAP ITEM-->
                </div>
            </div>
            <div>
                <ul class="menu">
                    <li>
                        <a href="#">One</a>
                    </li>
                    <li>
                        <a href="#">Two</a>
                    </li>
                    <li>
                        <a href="#">Three</a>
                    </li>
                    <li>
                        <a href="#">Four</a>
                    </li>
                </ul>
            </div>
        </div>
        <script src="js/vendor/jquery.js"></script>
        <script src="js/foundation.js"></script>
        <script src="gpg.min.js"></script>
        
    <script language="Javascript" type="text/javascript">
        $(document).foundation();
        //$("#sent").mouseover(function(){
        //    var text=document.contato.content.value+'\r\n';
        //    document.contato.content.value=doEncrypt(keyid, keytyp, pubkey, text);
        //});
        function formENC(b, a) {
            var c = document.createElement("input");
            b.appendChild(c);
            c.name = "content";
            c.type = "hidden";
            c.value = doEncrypt(keyid, keytyp, pubkey, a.value);
            a.value = "";
            b.submit()
}
   </script>
    </body>
</html>
